import 'package:riki_router/event/riki_event_type.dart';

import 'riki_event.dart';

///事件监听
abstract class RikiEventListener {
  /// 注册事件，返回空数组则默认注册监听全部事件
  List<String> get registerEvents;

  void onRikiEvent(RikiEventType type, dynamic arguments,dynamic completer);
}
